inc = [ 'include' ]
deps = [ libarch, fs_proto_dep, usb_proto_dep, mbus_proto_dep, hw_proto_dep ]

libevbackend_driver = shared_library('evbackend', 'src/libevbackend.cpp',
	dependencies : deps,
	include_directories : inc,
	install : true
)

evbackend_dep = declare_dependency(
	link_with : libevbackend_driver,
	dependencies : deps,
	include_directories : inc
)

install_headers('include/libevbackend.hpp',
	subdir : 'drivers/libevbackend'
)
